package adminapilogic

import (
	"code.bydev.io/cht/customer/kyc_admin_service/internal/app/serv"
	"context"

	v1 "code.bydev.io/cht/customer/kyc-stub.git/pkg/bybit/kyc/admin/v1"
	"code.bydev.io/cht/customer/kyc_admin_service/service/private/internal/svc"
)

type AdminAPIGetCountryConfigLogic struct {
	svcCtx *svc.ServiceContext
}

func NewAdminAPIGetCountryConfigLogic(svcCtx *svc.ServiceContext) *AdminAPIGetCountryConfigLogic {
	return &AdminAPIGetCountryConfigLogic{
		svcCtx: svcCtx,
	}
}

func (l *AdminAPIGetCountryConfigLogic) GetCountryConfig(
	ctx context.Context,
	in *v1.GetCountryConfigRequest,
) (*v1.GetCountryConfigResponse, error) {
	return serv.NewService(l.svcCtx.NothingEnv).GetCountryConfig(ctx, in)
}
